﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using Abp.AutoMapper;
using Abp.Runtime.Validation;
using Abp.Extensions;
using LeadThing.AbpZeroTemplate.FireFightingWorks;

namespace LeadThing.AbpZeroTemplate.FireFightingWorks.Dtos
{
    /// <summary>
    /// 消防工作编辑用Dto
    /// </summary>
    [AutoMap(typeof(FireFightingWork))]
    public class FireFightingWorkAPPEditDto
    {

        /// <summary>
        ///   主键Id
        /// </summary>
        [DisplayName("主键Id")]
        public long? Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        [DisplayName("标题")]
        [Required]
        [MaxLength(100)]
        public string Title { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        [DisplayName("描述")]
        public string Desc { get; set; }

        /// <summary>
        /// 文件ID字符串
        /// </summary>
        public string FileIds { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        public int TownID { get; set; }


        /// <summary>
        /// 区
        /// </summary>
        public int AreaID { get; set; }


        /// <summary>
        /// 村庄
        /// </summary>
        public int VillageID { get; set; }

    }
}
